function appendToPs(fhandle, fileName)

% set figure properties
set(fhandle(), 'PaperPositionMode', 'manual');
set(fhandle(), 'PaperOrientation', 'landscape');
set(fhandle(), 'PaperUnits', 'centimeters');
set(fhandle(), 'PaperType', 'A4');
set(fhandle(), 'PaperPosition', [1 0 28.5 21]);

% export graph
print('-noui', '-dpsc2', '-append', fileName);
